{eval
function qq_home_space_profile_my() {
global $_G;
}
<!--{block return}-->
<script>
	if($('body').find('.myinfo_list').length > 0){
		var str  = '<div class="myinfo_list cl">';
		str += '<ul>';
		<!--{if !empty($_G['xr_qq']['uid']) && $_G['xr_qq']['uid'] == $_G['xr_qq']['bind']}-->
		
		<!--{else}-->
    	str += '<li class="xrLoginNv4"><a href="javascript:;" data-url="plugin.php?id=xinrui_qq&mod=setting&op=unbind" class="xinrui_qq_menu"><em></em>{lang xinrui_qq:qq_unbind_user}</a></li>';
    	<!--{/if}-->
		
		<!--{if !empty($_G['xr_qq']['uid']) && $_G['xr_qq']['uid'] == $_G['xr_qq']['bind']}-->
		str += '<li class="xrLoginNv1"><a href="javascript:;" data-url="plugin.php?id=xinrui_qq&mod=setting&op=bind" class="xinrui_qq_menu"><em></em>{lang xinrui_qq:qq_bind_user}</a></li>';
		<!--{/if}-->
		
		<!-- {if !$_G['xr_qq']['isuser']} -->
		str += '<li class="xrLoginNv2"><a href="javascript:;" data-url="plugin.php?id=xinrui_qq&mod=setting&op=username" class="xinrui_qq_menu"><em></em>{lang xinrui_qq:qq_upt_user}</a></li>';
		<!--{/if}-->
		<!-- {if !$_G['xr_qq']['ispwd']} -->
		str += '<li class="xrLoginNv3"><a href="javascript:;" data-url="plugin.php?id=xinrui_qq&mod=setting&op=password" class="xinrui_qq_menu"><em></em>{lang xinrui_qq:qq_upt_pwd}</a></li>';
		<!--{/if}-->
		str += '</ul>';
		str += '</div>';
		$('body').find('.myinfo_list').append(str);		
	}
</script>
<!--{/block}-->
<!--{eval return $return;}-->
{eval
}


function qq_home_space_profile_bind() {
global $_G;
}
<!--{block return}-->
<script>
	if($('body').find('.myinfo_list').length > 0){
		var str  = '<div class="myinfo_list cl">';
		str += '<ul>';
		str += '<li class="xrLoginNv5"><a href="{$_G["siteurl"]}plugin.php?id=xinrui_qq&mod=setting&op=qqlogin&cp=bind"><em></em>{lang xinrui_qq:qq_bind}</a></li>';
		str += '</ul>';
		str += '</div>';
		$('body').find('.myinfo_list').append(str);		
	}
</script>

<!--{/block}-->
<!--{eval return $return;}-->
{eval
}


function qq_home_space_profile_oldbind() {
global $_G;
}
<!--{block return}-->
<script>
	if($('body').find('.myinfo_list').length > 0){
		var str  = '<div class="myinfo_list cl">';
		str += '<ul>';
		str += '<li class="xrLoginNv1"><a href="javascript:;" data-url="{$_G["siteurl"]}plugin.php?id=xinrui_qq&mod=setting&op=bind" class="xinrui_qq_menu"><em></em>{lang xinrui_qq:qq_bind_user}</a></li>';
		str += '</ul>';
		str += '</div>';
		$('body').find('.myinfo_list').append(str);		
	}
</script>

<!--{/block}-->
<!--{eval return $return;}-->
{eval
}



function tpl_login_bottom_qq() {
global $_G;
}
<!--{block return}-->
<style>
.btn_login .qq{display: block;background: #09a3dc url(source/plugin/xinrui_qq/template/image/qq_login.png) no-repeat 50px center / auto 60%;border-radius: 3px;width: 100%;height: 40px;display: block;line-height: 40px; overflow: hidden;color: #fff;text-align: center;border: 0;font-size: 16px;}
</style>
<div class="btn_login"><a href="{$_G['siteurl']}plugin.php?id=xinrui_qq&mod=setting&op=qqlogin" class="qq"><span>{lang xinrui_qq:qq_login}</span></a></div>

<!--{/block}-->
<!--{eval return $return;}-->

{eval
}

}


